package com.flipdf2;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics2D;
import java.awt.Rectangle;

public class Cell {

	private Color borderColor;
	private Color selectedBorderColor;
	private int borderWidth;

	private Rectangle rectangle;
	private Stamp stamp;

	private Color color;
	private boolean isSelected;

	public Cell() {
	}

	public void setRectangle(Rectangle rectangle) {
		this.rectangle = rectangle;
	}

	public Rectangle getRectangle() {
		return this.rectangle;
	}

	public void setStamp(Stamp stamp) {
		this.stamp = stamp;
	}

	public Stamp getStamp() {
		return this.stamp;
	}

	public void paint(Graphics2D g) {
		Color oldColor = g.getColor();

		g.setColor(color);
		g.draw(this.rectangle);

		g.setColor(oldColor);
	}
}
